//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.jim.core.packets;

import org.jim.core.ImStatus;
import org.jim.core.Status;

public class ExitGroupNotifyRespBody extends RespBody {
	private static final long serialVersionUID = 3680734574052114902L;
	private String userId;
	private String groupId;

	public ExitGroupNotifyRespBody(Status status) {
		super(Command.COMMAND_EXIT_GROUP_NOTIFY_RESP, status);
	}

	public ExitGroupNotifyRespBody(Command command, Status status) {
		super(command, status);
	}

	public String getUserId() {
		return this.userId;
	}

	public ExitGroupNotifyRespBody setUserId(String userId) {
		this.userId = userId;
		return this;
	}

	public String getGroupId() {
		return this.groupId;
	}

	public ExitGroupNotifyRespBody setGroupId(String groupId) {
		this.groupId = groupId;
		return this;
	}

	public static ExitGroupNotifyRespBody success() {
		return new ExitGroupNotifyRespBody(ImStatus.C10022);
	}

	public static ExitGroupNotifyRespBody failed() {
		return new ExitGroupNotifyRespBody(ImStatus.C10012);
	}
}
